package org.example.deal;

public class Trader {
    private String name;
    private Long deal;
    private String city;

    public Trader(String name, Long deal, String city) {
        this.name = name;
        this.deal = deal;
        this.city = city;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getDeal() {
        return deal;
    }

    public void setDeal(Long deal) {
        this.deal = deal;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Override
    public String toString() {
        return "Trader{" +
                "name='" + name + '\'' +
                ", deal=" + deal +
                ", city='" + city + '\'' +
                '}';
    }
}
